
def internal_1():
  """ C1. Internal call AilAg1. to AilAg2., release AilAg1."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.ReleaseCall()

def internal_2():
  """ C2. Internal call AilAg1. to AilAg3., abnormal release AilAg1."""
  AilAg1.MakeCall(DN3)
  AilAg1.ReleaseCall()

def internal_3():
  """ C3. Internal call AilAg1. to ACD3,  release PosID3"""
  AilAg1.MakeCall(ACD3)
  AilAg3.AnswerCall()
  AilAg3.ReleaseCall()

def internal_4():
  """ C4. Internal call AilAg1. to ACD3,  abnormal release AilAg1."""
  AilAg3.SetNotReady()
  AilAg1.MakeCall(ACD3)
  AilAg1.ReleaseCall()
  AilAg3.SetReady()

def internal_5():
  """ C5. Internal call AilAg1. to ACD3 agent NotReady Ready"""
  AilAg3.SetNotReady()
  AilAg1.MakeCall(ACD3)
  AilAg3.SetReady()
  AilAg3.AnswerCall()
  AilAg3.ReleaseCall()


def internal_12():
  """ C12. Internal call AilAg1. to  AilAg2., two step transfer to AilAg3., release AilAg3."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(DN3)
  AilAg3.AnswerCall()
  AilAg2.CompleteTransfer()
  AilAg3.ReleaseCall()

def internal_13():
  """ C13. Internal call AilAg1. to  AilAg2., tinit to AilAg3., abnormal release AilAg2., rel AilAg1."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(DN3)
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_14():
  """ C14. Internal call AilAg1. to  AilAg2., tinit to AilAg3., rel AilAg1., AilAg3. ans, AilAg2. rel"""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(DN3)
  AilAg1.ReleaseCall()

def internal_15():
  """ C15. Internal call AilAg1. to AilAg2., two step transfer to AilAg3., compl bef consul party answer"""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(DN3)
  AilAg2.CompleteTransfer()
  AilAg3.AnswerCall()
  AilAg1.ReleaseCall()

def internal_16():
  """ C16. Internal call, two step transfer to AilAg3., completed before consul party answer, abnor"""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(DN3)
  AilAg2.CompleteTransfer()
  AilAg1.ReleaseCall()

def internal_17():
  """ C17. Internal call AilAg1. to  AilAg2.,  AilAg2. two step transfer to ACD3, release PosID3"""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(ACD3)
  AilAg3.AnswerCall()
  AilAg2.CompleteTransfer()
  AilAg3.ReleaseCall()

def internal_18():
  """ C18. Internal call AilAg1. to  AilAg2., two step transfer to ACD3, ANR_R, release PosID3"""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg2.InitiateTransfer(ACD3)
  AilAg3.SetReady()
  AilAg3.AnswerCall()
  AilAg2.CompleteTransfer()
  AilAg3.ReleaseCall()

def internal_19():
  """ C19. Internal call AilAg1.-AilAg2., two step transfer to ACD3, compl bef cons party ans """
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(ACD3)
  AilAg2.CompleteTransfer()
  AilAg3.AnswerCall()
  AilAg3.ReleaseCall()

def internal_20():
  """ C20. Internal call AilAg1. to AilAg2., two step transfer to ACD3, compl bef cons party ans, abnor"""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg2.InitiateTransfer(ACD3)
  AilAg2.CompleteTransfer()
  AilAg1.ReleaseCall()
  AilAg3.SetReady()

def internal_21():
  """ C21. Internal call AilAg1. to  ACD2, two step transfer to AilAg3., release AilAg3."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(DN3)
  AilAg3.AnswerCall()
  AilAg2.CompleteTransfer()
  AilAg3.ReleaseCall()

def internal_22():
  """ C22. Internal call AilAg1. to  ACD2, tinit to AilAg3., abnormal release PosID2, rel AilAg1."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(DN3)
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_23():
  """ C23. Internal call AilAg1. to ACD2, two step transfer to AilAg3., compl before cons party answer"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(DN3)
  AilAg2.CompleteTransfer()
  AilAg3.AnswerCall()
  AilAg1.ReleaseCall()

def internal_24():
  """ C24. Internal call AilAg1. to ACD2, two step transfer to AilAg3., compl before cons party answer, abnor"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(DN3)
  AilAg2.CompleteTransfer()
  AilAg1.ReleaseCall()

def internal_25():
  """ C25. Internal call AilAg1. to ACD2,  ACD2 two step transfer to ACD3, release PosID3"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(ACD3)
  AilAg3.AnswerCall()
  AilAg2.CompleteTransfer()
  AilAg3.ReleaseCall()

def internal_26():
  """ C26. Internal call AilAg1. to ACD2, two step transfer to ACD3, ANR_R, release PosID3"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg2.InitiateTransfer(ACD3)
  AilAg3.SetReady()
  AilAg3.AnswerCall()
  AilAg2.CompleteTransfer()
  AilAg3.ReleaseCall()

def internal_27():
  """ C27. Internal call AilAg1. to ACD2, two step transfer to ACD3, compl before consul party answer"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(ACD3)
  AilAg2.CompleteTransfer()
  AilAg3.AnswerCall()
  AilAg3.ReleaseCall()

def internal_28():
  """ C28. Internal call AilAg1. to ACD2, two step transfer to ACD3, compl bef consul party answer, abnor """
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg2.InitiateTransfer(ACD3)
  AilAg2.CompleteTransfer()
  AilAg1.ReleaseCall()
  AilAg3.SetReady()

def internal_29():
  """ C29. Internal call AilAg1. to ACD2, tinit to AilAg3., rel AilAg1. """
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.InitiateTransfer(DN3)
  AilAg1.ReleaseCall()


def internal_31():
  """ C31. Internal call AilAg1. to ACD2, tinit to busy ACD3, rel AilAg1."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg2.InitiateTransfer(ACD3)
  AilAg1.ReleaseCall()
  AilAg3.SetReady()


def internal_35():
  """ C35. Internal call AilAg1. to AilAg2., Internal conference to AilAg3., release AilAg1., AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.InitiateConference(DN3)
  AilAg3.AnswerCall()
  AilAg2.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_36():
  """ C36. Internal call AilAg1. to AilAg2., AilAg2. cinit conference to AilAg3., abnorl release AilAg2., release AilAg1."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.InitiateConference(DN3)
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_37():
  """ C37. Internal call AilAg1. to AilAg2., Internal conference to ACD3, release AilAg1., AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.InitiateConference(ACD3)
  AilAg3.AnswerCall()
  AilAg2.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_38():
  """ C38. Internal call AilAg1. to AilAg2., AilAg2. init conference to ACD3, abn release AilAg2., rel AilAg1."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.InitiateConference(ACD3)
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_39():
  """ C39. Internal call AilAg1. to AilAg2., Internal conference to ACD3, agent NotReady-Ready"""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg2.InitiateConference(ACD3)
  AilAg3.SetReady()
  AilAg3.AnswerCall()
  AilAg2.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_40():
  """ C40. Internal call AilAg1. to ACD2, Internal conference to AilAg3., release AilAg1., PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.InitiateConference(DN3)
  AilAg3.AnswerCall()
  AilAg2.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_41():
  """ C41. Internal call AilAg1. to ACD2, PosID2 cinit conference to AilAg3., abn rel PosID2, release AilAg1."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.InitiateConference(DN3)
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_42():
  """ C42. Internal call AilAg1. to ACD2, Internal conference to ACD3, release AilAg1., PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.InitiateConference(ACD3)
  AilAg3.AnswerCall()
  AilAg2.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_43():
  """ C43. Internal call AilAg1. to ACD2, PosID2 init conference to ACD3, abnormal rel PosID2, rel AilAg1."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.InitiateConference(ACD3)
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_44():
  """ C44. Internal call AilAg1. to ACD2, Internal conference to ACD3, agent NotReady-Ready"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg2.InitiateConference(ACD3)
  AilAg3.SetReady()
  AilAg3.AnswerCall()
  AilAg2.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_45():
  """ C45. Internal call AilAg1. to AilAg2., mute transfer to AilAg3., release AilAg1."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.MuteTransfer(DN3)
  AilAg3.AnswerCall()
  AilAg1.ReleaseCall()

def internal_46():
  """ C46. Internal call AilAg1. to AilAg2., mute transfer to ACD3, release AilAg1."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.MuteTransfer(ACD3)
  AilAg3.AnswerCall()
  AilAg1.ReleaseCall()

def internal_47():
  """ C47. Internal call AilAg1. to AilAg2., mute transfer to ACD3, agent NotReady-Ready, release AilAg1."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg2.MuteTransfer(ACD3)
  AilAg3.SetReady()
  AilAg3.AnswerCall()
  AilAg1.ReleaseCall()

def internal_48():
  """ C48. Internal call AilAg1. to AilAg2., mute transfer to AilAg3., abnormal release AilAg1."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg2.MuteTransfer(DN3)
  AilAg1.ReleaseCall()

def internal_49():
  """ C49. Internal call AilAg1. to AilAg2., mute transfer to ACD3, agent NotReady-Ready, abnormal release AilAg1."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg2.MuteTransfer(ACD3)
  AilAg1.ReleaseCall()
  AilAg3.SetReady()

def internal_50():
  """ C50. Internal call AilAg1. to ACD2, mute transfer to AilAg3., release AilAg1."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.MuteTransfer(DN3)
  AilAg3.AnswerCall()
  AilAg1.ReleaseCall()

def internal_51():
  """ C51. Internal call AilAg1. to ACD2, mute transfer to ACD3, release AilAg1."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.MuteTransfer(ACD3)
  AilAg3.AnswerCall()
  AilAg1.ReleaseCall()

def internal_52():
  """ C52. Internal call AilAg1. to ACD2, mute transfer to ACD3, agent NotReady-Ready, release AilAg1."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg2.MuteTransfer(ACD3)
  AilAg3.SetReady()
  AilAg3.AnswerCall()
  AilAg1.ReleaseCall()

def internal_53():
  """ C53. Internal call AilAg1. to ACD2, mute transfer to AilAg3., abnormal release AilAg1."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg2.MuteTransfer(DN3)
  AilAg1.ReleaseCall()

def internal_54():
  """ C54. Internal call AilAg1. to ACD2, mute transfer to ACD3, agent NotReady-Ready, abnormal release AilAg1."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg2.MuteTransfer(ACD3)
  AilAg1.ReleaseCall()
  AilAg3.SetReady()

def internal_55():
  """CR1. AilAg1. call to AilAg2., AilAg1. transfer to AilAg3., release AilAg3."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(DN3)
  AilAg3.AnswerCall()
  AilAg1.CompleteTransfer()
  AilAg3.ReleaseCall()

def internal_56():
  """CR2. AilAg1. call to AilAg2., AilAg1. tinit to AilAg3., abn release AilAg1., release AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(DN3)
  AilAg1.ReleaseCall()         #works as complete transfer
  AilAg2.ReleaseCall()

def internal_57():
  """CR3. AilAg1. call to AilAg2., AilAg1. tinit to AilAg3., rel AilAg2., """
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(DN3)
  AilAg2.ReleaseCall()


def internal_60():
  """CR6. AilAg1. call to AilAg2., AilAg1. blind to AilAg3., release AilAg3."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(DN3)
  AilAg1.CompleteTransfer()
  AilAg3.AnswerCall()
  AilAg3.ReleaseCall()

def internal_61():
  """CR7. AilAg1. call to AilAg2., AilAg1. blind  to AilAg3.,abn release AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(DN3)
  AilAg1.CompleteTransfer()
  AilAg2.ReleaseCall()

def internal_62():
  """CR8. AilAg1. call to AilAg2., AilAg1. transfer to ACD3, release PosID3"""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(ACD3)
  AilAg3.AnswerCall()
  AilAg1.CompleteTransfer()
  AilAg3.ReleaseCall()

def internal_63():
  """CR9. AilAg1. call to AilAg2., AilAg1. tinit  to ACD3,abn release AilAg1., release AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(ACD3)
  AilAg1.ReleaseCall()   #works as complete transfer
  AilAg2.ReleaseCall()



def internal_65():
  """CR11. AilAg1. call to AilAg2., AilAg1. tinit  to ACD3, release AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(ACD3)
  AilAg2.ReleaseCall()


def internal_66():
  """CR12. AilAg1. call to AilAg2., AilAg1. blind transfer to ACD3,release PosID3"""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(ACD3)
  AilAg1.CompleteTransfer()
  AilAg3.AnswerCall()
  AilAg3.ReleaseCall()

def internal_67():
  """CR13. AilAg1. call to AilAg2., AilAg1. blinb transfer to ACD3,abn release AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(ACD3)
  AilAg1.CompleteTransfer()
  AilAg2.ReleaseCall()

def internal_68():
  """CR14. AilAg1. call to AilAg2., AilAg1. tinit to ACD3, rel AilAg2., PosID3 ans, AilAg1. rel"""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(ACD3)
  AilAg2.ReleaseCall()

def internal_69():
  """CR15. AilAg1. call to AilAg2., AilAg1. tinit to ACd3, rel AilAg2., AilAg1. rel"""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg1.InitiateTransfer(ACD3)
  AilAg2.ReleaseCall()
  AilAg3.SetReady()


def internal_72():
  """CR18. AilAg1. call to ACD2, AilAg1. transfer to AilAg3., release AilAg3."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(DN3)
  AilAg3.AnswerCall()
  AilAg1.CompleteTransfer()
  AilAg3.ReleaseCall()

def internal_73():
  """CR19. AilAg1. call to ACD2, AilAg1. tinit to AilAg3., abn release AilAg1., release PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(DN3)
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_74():
  """CR20. AilAg1. call to ACD2, AilAg1. tinit to AilAg3., rel PosID2, """
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(DN3)
  AilAg2.ReleaseCall()


def internal_75():
  """CR21. AilAg1. call to ACD2, AilAg1. tinit to AilAg3., abn rel AilAg1., release PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(DN3)
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_76():
  """CR22. AilAg1. call to ACD2, AilAg1. tinit to AilAg3.,  rel PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(DN3)
  AilAg2.ReleaseCall()

def internal_77():
  """CR23. AilAg1. call to ACD2, AilAg1. blind to AilAg3., release AilAg3."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(DN3)
  AilAg1.CompleteTransfer()
  AilAg3.AnswerCall()
  AilAg3.ReleaseCall()

def internal_78():
  """CR24. AilAg1. call to ACD2, AilAg1. blind  to AilAg3.,abn release PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(DN3)
  AilAg1.CompleteTransfer()
  AilAg2.ReleaseCall()

def internal_79():
  """CR25. AilAg1. call to ACD2, AilAg1. transfer to ACD3, release PosID3"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(ACD3)
  AilAg3.AnswerCall()
  AilAg1.CompleteTransfer()
  AilAg3.ReleaseCall()

def internal_80():
  """CR26. AilAg1. call to ACD2, AilAg1. tinit  to ACD3,abn release AilAg1., release PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(ACD3)
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()


def internal_82():
  """CR28. AilAg1. call to ACD2, AilAg1. tinit  to ACD3, release PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(ACD3)
  AilAg2.ReleaseCall()


def internal_83():
  """CR29. AilAg1. call to ACD2, AilAg1. blind transfer to ACD3,release PosID3"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(ACD3)
  AilAg1.CompleteTransfer()
  AilAg3.AnswerCall()
  AilAg3.ReleaseCall()

def internal_84():
  """CR30. AilAg1. call to ACD2, AilAg1. blinb transfer to ACD3,abn release PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(ACD3)
  AilAg1.CompleteTransfer()
  AilAg2.ReleaseCall()

def internal_85():
  """CR31. AilAg1. call to ACD2, AilAg1. tinit to ACD3, rel PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateTransfer(ACD3)
  AilAg2.ReleaseCall()


def internal_86():
  """CR32. AilAg1. call to ACD2, AilAg1. tinit to busy ACD3, rel PosID2,"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg1.InitiateTransfer(ACD3)
  AilAg2.ReleaseCall()
  AilAg3.SetReady()


def internal_89():
  """CR35. AilAg1. call to AilAg2., AilAg1. conference to AilAg3., release AilAg1., AilAg3."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(DN3)
  AilAg3.AnswerCall()
  AilAg1.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg3.ReleaseCall()

def internal_90():
  """CR36. AilAg1. call to AilAg2., AilAg1. cinit to AilAg3., abnormal release AilAg1., release AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(DN3)
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_91():
  """CR37. AilAg1. call to AilAg2., AilAg1. cinit to AilAg3., release AilAg1., release AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(DN3)
  AilAg3.AnswerCall()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_92():
  """CR38. AilAg1. call to AilAg2., AilAg1. cinit to AilAg3., release AilAg2., release AilAg1."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(DN3)
  AilAg3.AnswerCall()
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_93():
  """CR39. AilAg1. call to AilAg2., AilAg1. conference to AilAg3., release AilAg1., AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(DN3)
  AilAg3.AnswerCall()
  AilAg1.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_94():
  """CR40. AilAg1. call to AilAg2., AilAg1. conference to AilAg3., release AilAg2., AilAg1."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(DN3)
  AilAg3.AnswerCall()
  AilAg1.CompleteConference()
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_95():
  """CR41. AilAg1. call to AilAg2., AilAg1. conference to ACD3, release AilAg1., PosID3"""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(ACD3)
  AilAg3.AnswerCall()
  AilAg1.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg3.ReleaseCall()

def internal_96():
  """CR42. AilAg1. call to AilAg2., AilAg1. cinit to ACD3, abnormal release AilAg1., release AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(ACD3)
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_97():
  """CR43. AilAg1. call to AilAg2., AilAg1. cinit to ACD3, release AilAg1., release AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(ACD3)
  AilAg3.AnswerCall()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_98():
  """CR44. AilAg1. call to AilAg2., AilAg1. cinit to ACD3, release AilAg2., release AilAg1."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(ACD3)
  AilAg3.AnswerCall()
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_99():
  """CR45. AilAg1. call to AilAg2., AilAg1. conference to ACD3, release AilAg1. and AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(ACD3)
  AilAg3.AnswerCall()
  AilAg1.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_100():
  """CR46. AilAg1. call to AilAg2., AilAg1. conference to ACD3, release AilAg2., AilAg1."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(ACD3)
  AilAg3.AnswerCall()
  AilAg1.CompleteConference()
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_101():
  """CR47. AilAg1. call to ACD2, AilAg1. conference to AilAg3., release AilAg1., AilAg3."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(DN3)
  AilAg3.AnswerCall()
  AilAg1.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg3.ReleaseCall()

def internal_102():
  """CR48. AilAg1. call to ACD2, AilAg1. cinit to AilAg3., abnormal release AilAg1., release PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(DN3)
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_103():
  """CR49. AilAg1. call to ACD2, AilAg1. cinit to AilAg3., release AilAg1., release PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(DN3)
  AilAg3.AnswerCall()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_104():
  """CR50. AilAg1. call to ACD2, AilAg1. cinit to AilAg3., release PosID2, release AilAg1."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(DN3)
  AilAg3.AnswerCall()
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_105():
  """CR51. AilAg1. call to ACD2, AilAg1. conference to AilAg3., release AilAg1., ACD2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(DN3)
  AilAg3.AnswerCall()
  AilAg1.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_106():
  """CR52. AilAg1. call to ACD2, AilAg1. conference to AilAg3., release PosID2, AilAg1."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(DN3)
  AilAg3.AnswerCall()
  AilAg1.CompleteConference()
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_107():
  """CR53. AilAg1. call to ACD2, AilAg1. conference to ACD3, release AilAg1., PosID3"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(ACD3)
  AilAg3.AnswerCall()
  AilAg1.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg3.ReleaseCall()

def internal_108():
  """CR54. AilAg1. call to ACD2, AilAg1. cinit to ACD3, abnormal release AilAg1., release PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(ACD3)
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_109():
  """CR55. AilAg1. call to ACD2, AilAg1. cinit to ACD3, release AilAg1., release PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(ACD3)
  AilAg3.AnswerCall()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_110():
  """CR56. AilAg1. call to ACD2, AilAg1. cinit to ACD3, release PosID2, release AilAg1."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(ACD3)
  AilAg3.AnswerCall()
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_111():
  """CR57. AilAg1. call to ACD2, AilAg1. conference to ACD3, release AilAg1. and PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(ACD3)
  AilAg3.AnswerCall()
  AilAg1.CompleteConference()
  AilAg1.ReleaseCall()
  AilAg2.ReleaseCall()

def internal_112():
  """CR58. AilAg1. call to ACD2, AilAg1. conference to ACD3, release PosID2, AilAg1."""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.InitiateConference(ACD3)
  AilAg3.AnswerCall()
  AilAg1.CompleteConference()
  AilAg2.ReleaseCall()
  AilAg1.ReleaseCall()

def internal_113():
  """CR59. AilAg1. call to AilAg2., AilAg1. mute transfer to AilAg3., release  AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.MuteTransfer(DN3)
  AilAg3.AnswerCall()
  AilAg2.ReleaseCall()
 
def internal_114():
  """CR60. AilAg1. call to AilAg2., AilAg1. mute transfer to AilAg3., release  AilAg3."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.MuteTransfer(DN3)
  AilAg3.AnswerCall()
  AilAg3.ReleaseCall()

def internal_115():
  """CR61. AilAg1. call to AilAg2., AilAg1. mute transfer to AilAg3., abnormal release  AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.MuteTransfer(DN3)
  AilAg2.ReleaseCall()

def internal_116():
  """CR62. AilAg1. call to AilAg2., AilAg1. mute transfer to ACD3, release  AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.MuteTransfer(ACD3)
  AilAg3.AnswerCall()
  AilAg2.ReleaseCall()

def internal_117():
  """CR63. AilAg1. call to AilAg2., AilAg1. mute transfer to ACD3, release  PosID3"""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.MuteTransfer(ACD3)
  AilAg3.AnswerCall()
  AilAg3.ReleaseCall()

def internal_118():
  """CR64. AilAg1. call to AilAg2., AilAg1. mute transfer to ACD3, abnormal release  AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg1.MuteTransfer(ACD3)
  AilAg2.ReleaseCall()

def internal_119():
  """CR65. AilAg1. call to AilAg2., AilAg1. mute transfer to busy ACD3, agent Ready, release  AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg1.MuteTransfer(ACD3)
  AilAg3.SetReady()
  AilAg3.AnswerCall()
  AilAg2.ReleaseCall()

def internal_120():
  """CR66. AilAg1. call to AilAg2., AilAg1. mute transfer to busy ACD3, agen Ready, abn release  AilAg2."""
  AilAg1.MakeCall(DN2)
  AilAg2.AnswerCall()
  AilAg3.SetNotReady()
  AilAg1.MuteTransfer(ACD3)
  AilAg2.ReleaseCall()
  AilAg3.SetReady()

def internal_121():
  """CR67. AilAg1. call to ACD2, AilAg1. mute transfer to AilAg3., release  PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.MuteTransfer(DN3)
  AilAg3.AnswerCall()
  AilAg2.ReleaseCall()

def internal_122():
  """CR68. AilAg1. call to ACD2, AilAg1. mute transfer to AilAg3., release  AilAg3."""
  #PosID2 could be stocked after call
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.MuteTransfer(DN3)
  AilAg3.AnswerCall()
  AilAg3.ReleaseCall()

def internal_123():
  """CR69. AilAg1. call to ACD2, AilAg1. mute transfer to AilAg3., abnormal release  PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.MuteTransfer(DN3)
  AilAg2.ReleaseCall()

# 124,125, 126 switch behaves really strange

def internal_124():
  """CR70. AilAg1. call to ACD2, AilAg1. mute transfer to ACD3, release  PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.MuteTransfer(ACD3)
  AilAg3.AnswerCall()
  AilAg2.ReleaseCall()


def internal_125():
  """CR71. AilAg1. call to ACD2, AilAg1. mute transfer to ACD3, release  PosID3"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.MuteTransfer(ACD3)
  AilAg3.AnswerCall()
  AilAg3.ReleaseCall()

def internal_126():
  """CR72. AilAg1. call to ACD2, AilAg1. mute transfer to ACD3, abnormal release  PosID2"""
  AilAg1.MakeCall(ACD2)
  AilAg2.AnswerCall()
  AilAg1.MuteTransfer(ACD3)
  AilAg2.ReleaseCall()


